package com.ruoyi;

import com.ruoyi.common.config.RedisConfig;
import com.ruoyi.web.controller.system.task.MultithreadScheduleTask;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 启动程序
 * 
 * @author ruoyi
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class RuoYiApplication
{

    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(RuoYiApplication.class, args);  

        System.out.println("" +
                "_______________________________   _________________________ _____________________  ____ _____________    _____________ ____________ _________ ___________ _________ _________ ._.\n" +
                "\\_   _____/   _____/\\_   _____/  /   _____/\\__    ___/  _  \\\\______   \\__    ___/ |    |   \\______   \\  /   _____/    |   \\_   ___ \\\\_   ___ \\\\_   _____//   _____//   _____/ | |\n" +
                " |    __) \\_____  \\  |    __)_   \\ \\   |    | /  /_\\  \\|       _/ |    |    |    |   /|     ___/  \\_____  \\|    |   /    \\  \\//    \\  \\/ |    __)_ \\_____  \\ \\_____  \\  | |\n" +
                " |     \\  /        \\ |        \\  /        \\  |    |/    |    \\    |   \\ |    |    |    |  / |    |      /        \\    |  /\\     \\___\\     \\____|        \\/        \\/        \\  \\|\n" +
                " \\___  / /_______  //_______  / /_______  /  |____|\\____|__  /____|_  / |____|    |______/  |____|     /_______  /______/  \\______  /\\______  /_______  /_______  /_______  /  __\n" +
                "     \\/          \\/         \\/          \\/                 \\/       \\/                                         \\/                 \\/        \\/        \\/        \\/        \\/   \\/");
    }
}